ExamPlay Light Logo
Zalogować się

Computer Science for IGCSE & O level - Programming (Section 12 - No. 45)

What is the key characteristic of a local variable?
It can be used by any part of the program.
It can't be modified in the program.
It is only accessible within the block in which it is defined.
It can't be used within a procedure.

Wyjaśnienie

Local variables are only valid in the block they were created.

Uwagi (0)

Zaloguj się, aby skomentować
Reklama
BrainBehindX Inc Logo
©2026; Obsługiwane przez BrainBehindX Inc